<?php
/**
* @Author:  	Daniel Dinh
* @Email:   	webdevelopmentvn@gmail.com
* @Link: 		http://joomsoft.net
* @Version: 	1.0
* @copyright:	Joomsoft.net
* @license:		GNU Lesser GPL
*/

// No direct access
defined('_JEXEC') or die;

jimport('joomla.application.component.view');
JLoader::register('FarmacityHelper', JPATH_COMPONENT.'/helpers/farmacity.php');

class FarmacityViewTimeSlot extends JView
{

	/**
	 * Display the view
	 */
	public function display($tpl = null)
	{
		// Initialiase variables.
		$doc = & JFactory::getDocument();
		$doc->addStyleSheet(JURI::root().'components/com_farmacity/assets/css/farmacity.css');
		$doc->addScript(JURI::root().'components/com_farmacity/assets/js/script.js');

		// Check for errors.
		if (count($errors = $this->get('Errors'))) {
			JError::raiseError(500, implode("\n", $errors));
			return false;
		}

		parent::display($tpl);
	}

	
}
